home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-09-22 | 7.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| TTComp Archive (archive/ttcomp)
| fallback
| Supported |
100%
| file
| TTComp archive data, binary, 2K dictionary
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| TTComp archive compressed (bin-2K)
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 24 00 00 00 00 00 00 | 00 24 61 32 35 42 00 00 |.$......|.$a25B..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0a 49 73 43 74 6c | 45 76 65 6e 74 00 00 06 |...IsCtl|Event...|
|00000060| 00 00 00 00 00 b4 00 00 | 00 00 00 00 00 b4 00 00 |........|........|
|00000070| 00 14 03 c1 00 28 05 7e | 00 ff 00 00 00 00 00 00 |.....(.~|........|
|00000080| 0f a8 00 00 00 00 4e 1c | 00 00 00 09 00 00 00 04 |......N.|........|
|00000090| 00 04 ff fc ff fa 00 04 | 00 04 ff fc ff fc 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 83 00 | 0b 40 10 6b 53 63 72 65 |........|.@.kScre|
|000000b0| 65 6e 41 50 49 2f 31 39 | 39 39 36 00 06 47 65 6e |enAPI/19|996..Gen|
|000000c0| 65 76 61 00 00 5a 73 68 | 6f 72 74 20 49 73 43 74 |eva..Zsh|ort IsCt|
|000000d0| 6c 45 76 65 6e 74 28 57 | 69 6e 64 6f 77 50 74 72 |lEvent(W|indowPtr|
|000000e0| 20 77 69 6e 64 6f 77 2c | 20 45 76 65 6e 74 52 65 | window,| EventRe|
|000000f0| 63 6f 72 64 20 2a 65 76 | 65 6e 74 2c 20 43 6f 6e |cord *ev|ent, Con|
|00000100| 74 72 6f 6c 48 61 6e 64 | 6c 65 20 2a 63 74 6c 2c |trolHand|le *ctl,|
|00000110| 20 73 68 6f 72 74 20 2a | 61 63 74 69 6f 6e 29 3b | short *|action);|
|00000120| 00 00 00 06 00 00 00 00 | 00 7d 00 00 00 00 00 00 |........|.}......|
|00000130| 00 7d 00 00 00 00 03 c1 | 00 14 05 7e 00 ff 00 00 |.}......|...~....|
|00000140| 00 00 00 00 0f a8 00 00 | 00 00 4e 1d 00 00 00 09 |........|..N.....|
|00000150| 00 00 00 04 00 04 ff fc | ff fa 00 04 00 04 ff fc |........|........|
|00000160| ff fc 00 00 00 00 00 00 | 00 00 83 00 0b 40 14 6b |........|.....@.k|
|00000170| 53 63 72 65 65 6e 4f 6e | 65 4c 69 6e 65 2f 31 39 |ScreenOn|eLine/19|
|00000180| 39 39 37 00 06 47 65 6e | 65 76 61 00 00 1f 4c 65 |997..Gen|eva...Le|
|00000190| 74 20 61 20 63 6f 6e 74 | 72 6f 6c 20 68 61 6e 64 |t a cont|rol hand|
|000001a0| 6c 65 20 74 68 65 20 65 | 76 65 6e 74 2e 00 00 00 |le the e|vent....|
|000001b0| 06 00 00 00 00 00 44 00 | 00 00 00 00 00 00 44 00 |......D.|......D.|
|000001c0| 00 00 00 02 6b 04 40 02 | 6c 01 00 00 00 00 00 00 |....k.@.|l.......|
|000001d0| 01 0f f1 00 00 00 00 00 | 00 00 00 00 0c 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 06 00 00 00 | 00 00 c4 00 00 00 00 00 |........|........|
|00000210| 00 00 c4 00 00 00 00 02 | 6b 02 28 03 c1 00 ff 00 |........|k.(.....|
|00000220| 00 00 00 00 00 0f a8 00 | 00 00 00 4e 16 00 00 00 |........|...N....|
|00000230| 09 00 00 00 04 00 04 ff | fc ff fa 00 04 00 04 ff |........|........|
|00000240| fc ff fc 00 00 00 00 00 | 00 00 00 83 00 0b 40 0b |........|......@.|
|00000250| 6c 69 6e 6b 73 2f 31 39 | 39 39 30 00 06 4d 6f 6e |links/19|990..Mon|
|00000260| 61 63 6f 00 00 59 61 31 | 32 42 2c 43 4c 43 6c 69 |aco..Ya1|2B,CLCli|
|00000270| 63 6b 0d 61 31 33 37 2c | 43 4c 4b 65 79 0d 61 31 |ck.a137,|CLKey.a1|
|00000280| 33 39 2c 43 4c 4e 65 77 | 0d 61 31 36 31 2c 43 54 |39,CLNew|.a161,CT|
|00000290| 45 43 6c 69 63 6b 0d 61 | 31 37 34 2c 43 54 45 4b |EClick.a|174,CTEK|
|000002a0| 65 79 0d 61 31 37 36 2c | 43 54 45 4e 65 77 0d 61 |ey.a176,|CTENew.a|
|000002b0| 32 35 42 2c 49 73 43 74 | 6c 45 76 65 6e 74 0d 00 |25B,IsCt|lEvent..|
|000002c0| 16 00 01 00 00 00 00 00 | 10 00 0c 00 01 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 06 00 00 00 00 1b 05 00 |........|........|
|000002e0| 00 00 00 00 00 1b 05 00 | 00 00 00 00 00 75 30 02 |........|.....u0.|
|000002f0| 6b 01 ff 00 00 00 00 00 | 00 0f a8 00 00 00 00 4e |k.......|.......N|
|00000300| 1f 00 00 00 09 00 00 00 | 04 00 04 ff fc ff fa 00 |........|........|
|00000310| 04 00 04 ff fc ff fc 00 | 00 00 00 00 00 00 00 83 |........|........|
|00000320| 00 0b 40 0a 62 6f 64 79 | 2f 31 39 39 39 39 00 06 |..@.body|/19999..|
|00000330| 4d 6f 6e 61 63 6f 00 19 | 0b 73 68 6f 72 74 20 49 |Monaco..|.short I|
|00000340| 73 43 74 6c 45 76 65 6e | 74 28 57 69 6e 64 6f 77 |sCtlEven|t(Window|
|00000350| 50 74 72 20 77 69 6e 64 | 6f 77 2c 20 45 76 65 6e |Ptr wind|ow, Even|
|00000360| 74 52 65 63 6f 72 64 20 | 2a 65 76 65 6e 74 2c 20 |tRecord |*event, |
|00000370| 43 6f 6e 74 72 6f 6c 48 | 61 6e 64 6c 65 20 2a 63 |ControlH|andle *c|
|00000380| 74 6c 2c 20 73 68 6f 72 | 74 20 2a 61 63 74 69 6f |tl, shor|t *actio|
|00000390| 6e 29 3b 0d 0d 20 20 20 | 20 46 69 6c 65 3a 20 43 |n);.. | File: C|
|000003a0| 74 6c 48 61 6e 64 6c 65 | 72 2e 68 0d 0d 49 4e 50 |tlHandle|r.h..INP|
|000003b0| 55 54 3a 20 20 77 69 6e | 64 6f 77 20 20 20 20 20 |UT: win|dow |
|000003c0| 20 57 69 6e 64 6f 77 20 | 74 68 61 74 20 6f 77 6e | Window |that own|
|000003d0| 73 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 73 20 74 |s the co|ntrols t|
|000003e0| 68 61 74 20 74 68 65 20 | 65 76 65 6e 74 20 69 73 |hat the |event is|
|000003f0| 20 74 6f 20 62 65 20 61 | 70 70 6c 69 65 64 20 74 | to be a|pplied t|
|00000400| 6f 0d 20 20 20 20 20 20 | 20 20 65 76 65 6e 74 20 |o. | event |
|00000410| 20 20 20 20 20 20 54 68 | 65 20 65 76 65 6e 74 20 | Th|e event |
|00000420| 74 6f 20 61 70 70 6c 79 | 20 74 6f 20 74 68 65 20 |to apply| to the |
|00000430| 63 6f 6e 74 72 6f 6c 73 | 0d 4f 55 54 50 55 54 3a |controls|.OUTPUT:|
|00000440| 20 63 74 6c 20 20 20 20 | 20 20 20 20 20 54 68 65 | ctl | The|
|00000450| 20 63 6f 6e 74 72 6f 6c | 20 74 68 61 74 20 61 74 | control| that at|
|00000460| 65 20 74 68 65 20 65 76 | 65 6e 74 2e 20 20 49 66 |e the ev|ent. If|
|00000470| 20 79 6f 75 20 64 6f 6e | 27 74 20 63 61 72 65 2c | you don|'t care,|
|00000480| 20 70 61 73 73 20 69 6e | 20 6e 69 6c 0d 20 20 20 | pass in| nil. |
|00000490| 20 20 20 20 20 61 63 74 | 69 6f 6e 20 20 20 20 20 | act|ion |
|000004a0| 20 54 68 65 20 61 63 74 | 69 6f 6e 20 6f 66 20 74 | The act|ion of t|
|000004b0| 68 65 20 63 6f 6e 74 72 | 6f 6c 20 74 68 61 74 20 |he contr|ol that |
|000004c0| 61 74 65 20 74 68 65 20 | 65 76 65 6e 74 2e 20 20 |ate the |event. |
|000004d0| 49 66 20 79 6f 75 20 64 | 6f 6e 27 74 0d 20 20 20 |If you d|on't. |
|000004e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004f0| 20 63 61 72 65 2c 20 70 | 61 73 73 20 69 6e 20 6e | care, p|ass in n|
|00000500| 69 6c 2e 20 20 4e 6f 74 | 65 20 74 68 61 74 20 74 |il. Not|e that t|
|00000510| 68 65 20 61 63 74 69 6f | 6e 20 76 61 72 69 65 73 |he actio|n varies|
|00000520| 20 77 69 74 68 20 74 68 | 65 20 63 6f 6e 74 72 6f | with th|e contro|
|00000530| 6c 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |l. | |
|00000540| 20 20 20 20 20 20 74 79 | 70 65 2e 0d 52 45 53 55 | ty|pe..RESU|
|00000550| 4c 54 3a 20 73 68 6f 72 | 74 20 20 20 20 20 20 20 |LT: shor|t |
|00000560| 54 68 65 20 63 6f 6e 74 | 72 6f 6c 20 49 44 20 6f |The cont|rol ID o|
|00000570| 66 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 20 74 68 |f the co|ntrol th|
|00000580| 61 74 20 61 74 65 20 74 | 68 65 20 65 76 65 6e 74 |at ate t|he event|
|00000590| 2e 20 20 49 66 20 6e 6f | 20 63 6f 6e 74 72 6f 6c |. If no| control|
|000005a0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000005b0| 20 20 20 20 20 61 74 65 | 20 74 68 65 20 65 76 65 | ate| the eve|
|000005c0| 6e 74 2c 20 74 68 65 6e | 20 30 20 69 73 20 72 65 |nt, then| 0 is re|
|000005d0| 74 75 72 6e 65 64 2e 20 | 20 49 66 20 61 20 64 6f |turned. | If a do|
|000005e0| 63 75 6d 65 6e 74 20 73 | 63 72 6f 6c 6c 62 61 72 |cument s|crollbar|
|000005f0| 20 61 74 65 0d 20 20 20 | 20 20 20 20 20 20 20 20 | ate. | |
|00000600| 20 20 20 20 20 20 20 20 | 20 74 68 65 20 65 76 65 | | the eve|
|00000610| 6e 74 2c 20 74 68 65 6e | 20 6b 53 63 72 6f 6c 6c |nt, then| kScroll|
|00000620| 45 76 65 6e 74 20 69 73 | 20 72 65 74 75 72 6e 65 |Event is| returne|
|00000630| 64 2e 0d 0d 54 68 65 20 | 70 75 72 70 6f 73 65 20 |d...The |purpose |
|00000640| 6f 66 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |of this |function|
|00000650| 20 69 73 20 74 6f 20 73 | 69 6d 70 6c 69 66 79 20 | is to s|implify |
|00000660| 61 6e 64 20 73 74 61 6e | 64 61 72 64 69 7a 65 20 |and stan|dardize |
|00000670| 63 6f 6e 74 72 6f 6c 20 | 68 61 6e 64 6c 69 6e 67 |control |handling|
|00000680| 20 77 69 74 68 69 6e 0d | 61 20 77 69 6e 64 6f 77 | within.|a window|
|00000690| 2e 20 20 47 69 76 65 6e | 20 61 6e 20 65 76 65 6e |. Given| an even|
|000006a0| 74 2c 20 6a 75 73 74 20 | 63 61 6c 6c 20 49 73 43 |t, just |call IsC|
|000006b0| 74 6c 45 76 65 6e 74 2c | 20 61 6e 64 20 69 66 20 |tlEvent,| and if |
|000006c0| 69 74 20 72 65 74 75 72 | 6e 73 20 61 20 6e 6f 6e |it retur|ns a non|
|000006d0| 2d 30 20 76 61 6c 75 65 | 2c 0d 74 68 65 20 76 61 |-0 value|,.the va|
|000006e0| 6c 75 65 20 72 65 70 72 | 65 73 65 6e 74 73 20 74 |lue repr|esents t|
|000006f0| 68 65 20 63 74 6c 49 44 | 20 6f 66 20 74 68 65 20 |he ctlID| of the |
|00000700| 63 6f 6e 74 72 6f 6c 2e | 0d 4e 4f 54 45 3a 20 20 |control.|.NOTE: |
|00000710| 20 45 76 65 6e 20 69 66 | 20 74 68 65 20 41 70 70 | Even if| the App|
|00000720| 73 54 6f 47 6f 20 65 64 | 69 74 6f 72 20 63 74 6c |sToGo ed|itor ctl|
|00000730| 49 44 20 76 61 6c 75 65 | 20 69 73 20 30 2c 20 49 |ID value| is 0, I|
|00000740| 73 43 74 6c 45 76 65 6e | 74 20 77 69 6c 6c 20 72 |sCtlEven|t will r|
|00000750| 65 74 75 72 6e 20 61 0d | 20 20 20 20 20 20 20 20 |eturn a.| |
|00000760| 6e 6f 6e 2d 30 20 76 61 | 6c 75 65 2e 20 20 54 68 |non-0 va|lue. Th|
|00000770| 65 20 76 61 6c 75 65 20 | 69 6e 20 74 68 69 73 20 |e value |in this |
|00000780| 63 61 73 65 20 72 65 70 | 72 65 73 65 6e 74 73 20 |case rep|resents |
|00000790| 74 68 65 20 70 6f 73 69 | 74 69 6f 6e 61 6c 20 76 |the posi|tional v|
|000007a0| 61 6c 75 65 20 6f 66 0d | 20 20 20 20 20 20 20 20 |alue of.| |
|000007b0| 74 68 65 20 63 6f 6e 74 | 72 6f 6c 20 69 6e 20 74 |the cont|rol in t|
|000007c0| 68 65 20 63 6f 6e 74 72 | 6f 6c 20 6c 69 73 74 2e |he contr|ol list.|
|000007d0| 20 20 54 68 65 20 66 69 | 72 73 74 20 63 6f 6e 74 | The fi|rst cont|
|000007e0| 72 6f 6c 20 69 6e 20 74 | 68 65 20 6c 69 73 74 20 |rol in t|he list |
|000007f0| 69 73 0d 20 20 20 20 20 | 20 20 20 63 6f 6e 74 72 |is. | contr|
|00000800| 6f 6c 20 23 31 2e 20 20 | 41 67 61 69 6e 2c 20 74 |ol #1. |Again, t|
|00000810| 68 69 73 20 69 73 20 6f | 6e 6c 79 20 66 6f 72 20 |his is o|nly for |
|00000820| 74 68 65 20 63 61 73 65 | 20 77 68 65 72 65 20 74 |the case| where t|
|00000830| 68 65 20 61 73 73 69 67 | 6e 65 64 20 63 74 6c 49 |he assig|ned ctlI|
|00000840| 44 0d 20 20 20 20 20 20 | 20 20 69 73 20 30 2e 0d |D. | is 0..|
|00000850| 54 68 69 73 20 63 6f 64 | 65 20 69 6d 70 6c 65 6d |This cod|e implem|
|00000860| 65 6e 74 73 20 74 68 65 | 20 37 2e 30 20 68 75 6d |ents the| 7.0 hum|
|00000870| 61 6e 2d 69 6e 74 65 72 | 66 61 63 65 20 73 74 61 |an-inter|face sta|
|00000880| 6e 64 61 72 64 73 20 66 | 6f 72 20 62 6f 74 68 20 |ndards f|or both |
|00000890| 54 65 78 74 45 64 69 74 | 20 61 6e 64 0d 4c 69 73 |TextEdit| and.Lis|
|000008a0| 74 20 63 6f 6e 74 72 6f | 6c 73 2e 20 20 54 68 65 |t contro|ls. The|
|000008b0| 73 65 20 73 74 61 6e 64 | 61 72 64 73 20 69 6e 63 |se stand|ards inc|
|000008c0| 6c 75 64 65 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |lude the| followi|
|000008d0| 6e 67 20 66 65 61 74 75 | 72 65 73 3a 0d 0d 31 29 |ng featu|res:..1)|
|000008e0| 20 20 54 61 62 62 69 6e | 67 20 62 65 74 77 65 65 | Tabbin|g betwee|
|000008f0| 6e 20 54 65 78 74 45 64 | 69 74 20 61 6e 64 20 4c |n TextEd|it and L|
|00000900| 69 73 74 20 63 6f 6e 74 | 72 6f 6c 73 20 77 69 74 |ist cont|rols wit|
|00000910| 68 69 6e 20 61 20 77 69 | 6e 64 6f 77 2e 0d 32 29 |hin a wi|ndow..2)|
|00000920| 20 20 44 69 73 70 6c 61 | 79 69 6e 67 20 77 68 61 | Displa|ying wha|
|00000930| 74 20 69 74 65 6d 20 69 | 73 20 61 63 74 69 76 65 |t item i|s active|
|00000940| 2e 20 20 54 68 65 20 61 | 63 74 69 76 65 20 54 65 |. The a|ctive Te|
|00000950| 78 74 45 64 69 74 20 69 | 74 65 6d 20 69 73 20 69 |xtEdit i|tem is i|
|00000960| 6e 64 69 63 61 74 65 64 | 0d 20 20 20 20 62 79 20 |ndicated|. by |
|00000970| 65 69 74 68 65 72 20 61 | 20 62 6c 69 6e 6b 69 6e |either a| blinkin|
|00000980| 67 20 63 61 72 65 74 2c | 20 6f 72 20 61 20 73 65 |g caret,| or a se|
|00000990| 6c 65 63 74 69 6f 6e 20 | 72 61 6e 67 65 2e 0d 33 |lection |range..3|
|000009a0| 29 20 20 4c 69 73 74 20 | 70 6f 73 69 74 69 6f 6e |) List |position|
|000009b0| 69 6e 67 20 76 69 61 20 | 74 68 65 20 6b 65 79 62 |ing via |the keyb|
|000009c0| 6f 61 72 64 2e 20 20 45 | 6e 74 72 69 65 73 20 6f |oard. E|ntries o|
|000009d0| 6e 20 74 68 65 20 6b 65 | 79 62 6f 61 72 64 20 61 |n the ke|yboard a|
|000009e0| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 0d 20 20 20 |utomatic|ally. |
|000009f0| 20 73 65 6c 65 63 74 20 | 61 6e 64 20 64 69 73 70 | select |and disp|
|00000a00| 6c 61 79 20 74 68 65 20 | 63 6c 6f 73 65 73 74 20 |lay the |closest |
|00000a10| 4c 69 73 74 20 69 74 65 | 6d 2e 20 20 41 6c 73 6f |List ite|m. Also|
|00000a20| 2c 20 74 68 65 20 75 70 | 20 61 6e 64 20 64 6f 77 |, the up| and dow|
|00000a30| 6e 20 61 72 72 6f 77 73 | 0d 20 20 20 20 73 63 72 |n arrows|. scr|
|00000a40| 6f 6c 6c 20 74 68 72 6f | 75 67 68 20 74 68 65 20 |oll thro|ugh the |
|00000a50| 6c 69 73 74 2e 0d 34 29 | 20 20 44 6f 63 75 6d 65 |list..4)| Docume|
|00000a60| 6e 74 20 77 69 6e 64 6f | 77 20 73 63 72 6f 6c 6c |nt windo|w scroll|
|00000a70| 62 61 72 73 20 61 72 65 | 20 68 61 6e 64 6c 65 64 |bars are| handled|
|00000a80| 2e 0d 35 29 20 20 42 61 | 6c 6c 6f 6f 6e 20 68 65 |..5) Ba|lloon he|
|00000a90| 6c 70 20 66 6f 72 20 77 | 69 6e 64 6f 77 20 63 6f |lp for w|indow co|
|00000aa0| 6e 74 65 6e 74 73 20 69 | 73 20 68 61 6e 64 6c 65 |ntents i|s handle|
|00000ab0| 64 20 28 77 68 65 6e 20 | 63 61 6c 6c 65 64 20 77 |d (when |called w|
|00000ac0| 69 74 68 20 61 20 4e 55 | 4c 4c 20 65 76 65 6e 74 |ith a NU|LL event|
|00000ad0| 29 2e 0d 0d 54 68 65 20 | 6d 61 69 6e 20 63 61 6c |)...The |main cal|
|00000ae0| 6c 20 66 6f 72 20 68 61 | 6e 64 6c 69 6e 67 20 74 |l for ha|ndling t|
|00000af0| 68 65 20 63 6f 6e 74 72 | 6f 6c 20 65 76 65 6e 74 |he contr|ol event|
|00000b00| 73 20 69 73 3a 0d 20 20 | 20 20 73 68 6f 72 74 20 |s is:. | short |
|00000b10| 20 20 49 73 43 74 6c 45 | 76 65 6e 74 28 57 69 6e | IsCtlE|vent(Win|
|00000b20| 64 6f 77 50 74 72 20 77 | 69 6e 64 6f 77 2c 20 45 |dowPtr w|indow, E|
|00000b30| 76 65 6e 74 52 65 63 6f | 72 64 20 2a 65 76 65 6e |ventReco|rd *even|
|00000b40| 74 2c 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t,. | |
|00000b50| 20 20 20 20 20 20 20 20 | 20 20 43 6f 6e 74 72 6f | | Contro|
|00000b60| 6c 48 61 6e 64 6c 65 20 | 2a 72 65 74 43 74 6c 2c |lHandle |*retCtl,|
|00000b70| 20 73 68 6f 72 74 20 2a | 72 65 74 41 63 74 69 6f | short *|retActio|
|00000b80| 6e 29 3b 0d 0d 54 68 69 | 73 20 63 61 6c 6c 20 68 |n);..Thi|s call h|
|00000b90| 61 6e 64 6c 65 73 20 74 | 68 65 20 66 6f 6c 6c 6f |andles t|he follo|
|00000ba0| 77 69 6e 67 3a 0d 20 20 | 20 20 31 29 20 44 6f 63 |wing:. | 1) Doc|
|00000bb0| 75 6d 65 6e 74 20 73 63 | 72 6f 6c 6c 69 6e 67 2e |ument sc|rolling.|
|00000bc0| 0d 20 20 20 20 32 29 20 | 54 65 78 74 45 64 69 74 |. 2) |TextEdit|
|00000bd0| 20 63 6f 6e 74 72 6f 6c | 20 65 76 65 6e 74 73 2e | control| events.|
|00000be0| 0d 20 20 20 20 33 29 20 | 4c 69 73 74 20 63 6f 6e |. 3) |List con|
|00000bf0| 74 72 6f 6c 20 65 76 65 | 6e 74 73 2e 0d 20 20 20 |trol eve|nts.. |
|00000c00| 20 34 29 20 54 61 62 62 | 69 6e 67 20 28 61 6e 64 | 4) Tabb|ing (and|
|00000c10| 20 73 68 69 72 74 2d 74 | 61 62 62 69 6e 67 29 20 | shirt-t|abbing) |
|00000c20| 62 65 74 77 65 65 6e 20 | 54 65 78 74 45 64 69 74 |between |TextEdit|
|00000c30| 20 61 6e 64 20 6c 69 73 | 74 20 63 6f 6e 74 72 6f | and lis|t contro|
|00000c40| 6c 73 2e 0d 20 20 20 20 | 35 29 20 44 69 73 70 6c |ls.. |5) Displ|
|00000c50| 61 79 69 6e 67 20 74 68 | 65 20 73 65 6c 65 63 74 |aying th|e select|
|00000c60| 65 64 20 54 65 78 74 45 | 64 69 74 20 6f 72 20 4c |ed TextE|dit or L|
|00000c70| 69 73 74 20 63 6f 6e 74 | 72 6f 6c 2e 0d 20 20 20 |ist cont|rol.. |
|00000c80| 20 36 29 20 42 75 74 74 | 6f 6e 73 2e 0d 20 20 20 | 6) Butt|ons.. |
|00000c90| 20 37 29 20 52 61 64 69 | 6f 20 62 75 74 74 6f 6e | 7) Radi|o button|
|00000ca0| 73 2e 0d 20 20 20 20 38 | 29 20 43 68 65 63 6b 20 |s.. 8|) Check |
|00000cb0| 62 6f 78 65 73 2e 0d 20 | 20 20 20 39 29 20 50 6f |boxes.. | 9) Po|
|00000cc0| 70 75 70 73 20 61 6e 64 | 20 6f 74 68 65 72 20 63 |pups and| other c|
|00000cd0| 6f 6e 74 72 6f 6c 73 2e | 0d 20 20 20 31 30 29 20 |ontrols.|. 10) |
|00000ce0| 42 61 6c 6c 6f 6f 6e 20 | 68 65 6c 70 20 66 6f 72 |Balloon |help for|
|00000cf0| 20 63 6f 6e 74 72 6f 6c | 73 2e 0d 0d 54 68 65 20 | control|s...The |
|00000d00| 64 6f 63 75 6d 65 6e 74 | 20 63 6f 6e 74 65 6e 74 |document| content|
|00000d10| 20 69 73 20 73 63 72 6f | 6c 6c 65 64 20 61 75 74 | is scro|lled aut|
|00000d20| 6f 6d 61 74 69 63 61 6c | 6c 79 2e 20 20 54 68 65 |omatical|ly. The|
|00000d30| 20 75 70 64 61 74 65 52 | 67 6e 20 69 73 20 73 65 | updateR|gn is se|
|00000d40| 74 20 74 6f 20 69 6e 63 | 6c 75 64 65 20 74 68 65 |t to inc|lude the|
|00000d50| 0d 61 72 65 61 20 73 63 | 72 6f 6c 6c 65 64 20 69 |.area sc|rolled i|
|00000d60| 6e 74 6f 20 76 69 65 77 | 20 61 6e 64 20 74 68 65 |nto view| and the|
|00000d70| 20 77 69 6e 64 6f 77 20 | 75 70 64 61 74 65 20 70 | window |update p|
|00000d80| 72 6f 63 65 64 75 72 65 | 20 69 73 20 61 75 74 6f |rocedure| is auto|
|00000d90| 6d 61 74 69 63 61 6c 6c | 79 20 63 61 6c 6c 65 64 |maticall|y called|
|00000da0| 2e 0d 0d 54 65 78 74 45 | 64 69 74 20 61 6e 64 20 |...TextE|dit and |
|00000db0| 4c 69 73 74 20 63 6f 6e | 74 72 6f 6c 20 65 76 65 |List con|trol eve|
|00000dc0| 6e 74 73 20 61 72 65 20 | 63 6f 6d 70 6c 65 74 65 |nts are |complete|
|00000dd0| 6c 79 20 68 61 6e 64 6c | 65 64 2e 20 20 53 69 6e |ly handl|ed. Sin|
|00000de0| 63 65 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 73 20 |ce the c|ontrols |
|00000df0| 61 72 65 20 6a 75 73 74 | 0d 63 6f 6e 74 61 69 6e |are just|.contain|
|00000e00| 65 72 73 20 66 6f 72 20 | 54 45 52 65 63 6f 72 64 |ers for |TERecord|
|00000e10| 73 20 6f 72 20 4c 69 73 | 74 52 65 63 6f 72 64 73 |s or Lis|tRecords|
|00000e20| 2c 20 61 6c 6c 20 6f 74 | 68 65 72 20 61 63 63 65 |, all ot|her acce|
|00000e30| 73 73 20 69 73 20 75 70 | 20 74 6f 20 74 68 65 20 |ss is up| to the |
|00000e40| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2e 0d 0d 53 69 |applicat|ion...Si|
|00000e50| 6d 70 6c 65 20 62 75 74 | 74 6f 6e 73 20 61 72 65 |mple but|tons are|
|00000e60| 20 73 69 6d 70 6c 79 20 | 74 72 61 63 6b 65 64 2e | simply |tracked.|
|00000e70| 0d 0d 52 61 64 69 6f 20 | 62 75 74 74 6f 6e 73 20 |..Radio |buttons |
|00000e80| 61 72 65 20 75 70 64 61 | 74 65 64 20 74 6f 20 72 |are upda|ted to r|
|00000e90| 65 66 6c 65 63 74 20 74 | 68 65 20 6e 65 77 20 73 |eflect t|he new s|
|00000ea0| 65 6c 65 63 74 69 6f 6e | 2e 20 20 52 61 64 69 6f |election|. Radio|
|00000eb0| 20 62 75 74 74 6f 6e 73 | 20 61 72 65 20 68 61 6e | buttons| are han|
|00000ec0| 64 6c 65 64 20 61 73 0d | 66 61 6d 69 6c 69 65 73 |dled as.|families|
|00000ed0| 2e 20 20 54 68 65 20 72 | 65 66 43 6f 6e 20 66 69 |. The r|efCon fi|
|00000ee0| 65 6c 64 20 68 6f 6c 64 | 73 20 74 68 65 20 66 61 |eld hold|s the fa|
|00000ef0| 6d 69 6c 79 20 6e 75 6d | 62 65 72 2e 20 20 46 6f |mily num|ber. Fo|
|00000f00| 72 20 61 6e 79 20 67 69 | 76 65 6e 20 66 61 6d 69 |r any gi|ven fami|
|00000f10| 6c 79 2c 20 74 68 65 72 | 65 20 63 61 6e 0d 6f 6e |ly, ther|e can.on|
|00000f20| 6c 79 20 62 65 20 6f 6e | 65 20 73 65 6c 65 63 74 |ly be on|e select|
|00000f30| 65 64 20 72 61 64 69 6f | 20 62 75 74 74 6f 6e 2e |ed radio| button.|
|00000f40| 20 20 57 68 65 6e 20 61 | 20 6e 65 77 20 6f 6e 65 | When a| new one|
|00000f50| 20 69 73 20 63 6c 69 63 | 6b 65 64 20 6f 6e 2c 20 | is clic|ked on, |
|00000f60| 74 68 65 20 6f 6c 64 20 | 73 65 6c 65 63 74 65 64 |the old |selected|
|00000f70| 0d 72 61 64 69 6f 20 62 | 75 74 74 6f 6e 20 69 73 |.radio b|utton is|
|00000f80| 20 64 65 73 65 6c 65 63 | 74 65 64 20 61 75 74 6f | deselec|ted auto|
|00000f90| 6d 61 74 69 63 61 6c 6c | 79 2e 0d 0d 43 68 65 63 |maticall|y...Chec|
|00000fa0| 6b 20 62 6f 78 65 73 20 | 61 72 65 20 73 69 6d 70 |k boxes |are simp|
|00000fb0| 6c 79 20 74 6f 67 67 6c | 65 64 20 6f 6e 20 61 6e |ly toggl|ed on an|
|00000fc0| 64 20 6f 66 66 2c 20 61 | 73 20 74 68 65 72 65 20 |d off, a|s there |
|00000fd0| 69 73 20 6e 6f 20 66 61 | 6d 69 6c 79 20 72 65 6c |is no fa|mily rel|
|00000fe0| 61 74 69 6f 6e 73 68 69 | 70 20 62 65 74 77 65 65 |ationshi|p betwee|
|00000ff0| 6e 0d 63 68 65 63 6b 62 | 6f 78 65 73 2e 0d 0d 50 |n.checkb|oxes...P|
|00001000| 6f 70 75 70 73 20 61 72 | 65 20 73 69 6d 70 6c 79 |opups ar|e simply|
|00001010| 20 74 72 61 63 6b 65 64 | 2e 20 20 54 6f 20 64 65 | tracked|. To de|
|00001020| 74 65 72 6d 69 6e 65 20 | 77 68 61 74 20 74 68 65 |termine |what the|
|00001030| 20 70 6f 70 75 70 20 63 | 68 6f 69 63 65 20 69 73 | popup c|hoice is|
|00001040| 2c 20 74 68 65 20 70 6f | 70 75 70 20 63 6f 6e 74 |, the po|pup cont|
|00001050| 72 6f 6c 0d 76 61 6c 75 | 65 20 77 69 6c 6c 20 68 |rol.valu|e will h|
|00001060| 61 76 65 20 74 6f 20 62 | 65 20 72 65 74 72 65 69 |ave to b|e retrei|
|00001070| 76 65 64 2e 0d 0d 54 68 | 65 20 72 65 74 75 72 6e |ved...Th|e return|
|00001080| 20 76 61 6c 75 65 20 6f | 66 20 49 73 43 74 6c 45 | value o|f IsCtlE|
|00001090| 76 65 6e 74 20 69 73 20 | 6e 6f 6e 2d 7a 65 72 6f |vent is |non-zero|
|000010a0| 20 69 66 20 74 68 65 20 | 65 76 65 6e 74 20 77 61 | if the |event wa|
|000010b0| 73 20 68 61 6e 64 6c 65 | 64 2e 20 20 54 68 65 20 |s handle|d. The |
|000010c0| 76 61 6c 75 65 73 20 61 | 72 65 0d 61 73 20 66 6f |values a|re.as fo|
|000010d0| 6c 6c 6f 77 73 3a 0d 0d | 30 78 38 30 30 30 3a 20 |llows:..|0x8000: |
|000010e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 49 73 43 74 | | IsCt|
|000010f0| 6c 45 76 65 6e 74 20 73 | 63 72 6f 6c 6c 65 64 20 |lEvent s|crolled |
|00001100| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 2e 20 20 54 |the docu|ment. T|
|00001110| 68 65 20 63 6f 6e 73 74 | 61 6e 74 20 6b 53 63 72 |he const|ant kScr|
|00001120| 6f 6c 6c 45 76 65 6e 74 | 20 69 73 0d 20 20 20 20 |ollEvent| is. |
|00001130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001140| 64 65 66 69 6e 65 64 20 | 61 73 20 30 78 38 30 30 |defined |as 0x800|
|00001150| 30 20 66 6f 72 20 74 68 | 69 73 20 70 75 72 70 6f |0 for th|is purpo|
|00001160| 73 65 2e 0d 30 3a 20 20 | 20 20 20 20 20 20 20 20 |se..0: | |
|00001170| 20 20 20 20 20 20 20 20 | 49 73 43 74 6c 45 76 65 | |IsCtlEve|
|00001180| 6e 74 20 64 69 64 6e 27 | 74 20 68 61 6e 64 6c 65 |nt didn'|t handle|
|00001190| 20 74 68 65 20 65 76 65 | 6e 74 2e 0d 61 6e 79 20 | the eve|nt..any |
|000011a0| 6f 74 68 65 72 20 76 61 | 6c 75 65 3a 20 20 20 20 |other va|lue: |
|000011b0| 54 68 65 20 63 6f 6e 74 | 72 6f 6c 20 6e 75 6d 62 |The cont|rol numb|
|000011c0| 65 72 20 6f 66 20 74 68 | 65 20 63 6f 6e 74 72 6f |er of th|e contro|
|000011d0| 6c 20 74 68 61 74 20 68 | 61 6e 64 6c 65 64 20 74 |l that h|andled t|
|000011e0| 68 65 20 65 76 65 6e 74 | 2e 20 20 52 65 6d 65 6d |he event|. Remem|
|000011f0| 62 65 72 20 74 68 61 74 | 0d 20 20 20 20 20 20 20 |ber that|. |
|00001200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 61 20 54 | | a T|
|00001210| 65 78 74 45 64 69 74 20 | 63 6f 6e 74 72 6f 6c 20 |extEdit |control |
|00001220| 6d 61 79 20 61 63 74 75 | 61 6c 6c 79 20 63 6f 6e |may actu|ally con|
|00001230| 73 69 73 74 20 6f 66 20 | 75 70 20 74 6f 20 33 20 |sist of |up to 3 |
|00001240| 63 6f 6e 74 72 6f 6c 73 | 2e 20 20 54 68 65 72 65 |controls|. There|
|00001250| 20 69 73 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 | is. | |
|00001260| 20 20 20 20 20 20 20 20 | 74 68 65 20 6d 61 69 6e | |the main|
|00001270| 20 63 6f 6e 74 61 69 6e | 65 72 20 63 6f 6e 74 72 | contain|er contr|
|00001280| 6f 6c 20 66 6f 72 20 74 | 68 65 20 54 45 52 65 63 |ol for t|he TERec|
|00001290| 6f 72 64 2e 20 20 54 68 | 65 72 65 20 6d 61 79 20 |ord. Th|ere may |
|000012a0| 61 6c 73 6f 20 62 65 20 | 31 20 6f 72 20 32 0d 20 |also be |1 or 2. |
|000012b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012c0| 20 20 20 73 63 72 6f 6c | 6c 62 61 72 20 63 6f 6e | scrol|lbar con|
|000012d0| 74 72 6f 6c 73 20 74 68 | 61 74 20 61 72 65 20 72 |trols th|at are r|
|000012e0| 65 6c 61 74 65 64 20 74 | 6f 20 74 68 65 20 54 45 |elated t|o the TE|
|000012f0| 52 65 63 6f 72 64 2e 20 | 20 54 68 65 20 63 6f 6e |Record. | The con|
|00001300| 74 72 6f 6c 20 6e 75 6d | 62 65 72 0d 20 20 20 20 |trol num|ber. |
|00001310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001320| 72 65 66 6c 65 63 74 73 | 20 77 68 69 63 68 20 63 |reflects| which c|
|00001330| 6f 6e 74 72 6f 6c 20 77 | 61 73 20 68 69 74 2e 20 |ontrol w|as hit. |
|00001340| 20 54 68 69 73 20 61 6c | 6c 6f 77 73 20 64 65 74 | This al|lows det|
|00001350| 65 72 6d 69 6e 61 74 69 | 6f 6e 20 61 73 20 74 6f |erminati|on as to|
|00001360| 20 77 68 65 74 68 65 72 | 0d 20 20 20 20 20 20 20 | whether|. |
|00001370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6f 72 20 | | or |
|00001380| 6e 6f 74 20 74 68 65 20 | 73 63 72 6f 6c 6c 62 61 |not the |scrollba|
|00001390| 72 20 77 61 73 20 68 69 | 74 2e 0d 20 20 20 20 20 |r was hi|t.. |
|000013a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 46 | | F|
|000013b0| 6f 72 20 54 65 78 74 45 | 64 69 74 20 61 6e 64 20 |or TextE|dit and |
|000013c0| 6c 69 73 74 20 63 6f 6e | 74 72 6f 6c 73 2c 20 65 |list con|trols, e|
|000013d0| 76 65 6e 20 69 66 20 61 | 20 72 65 6c 61 74 65 64 |ven if a| related|
|000013e0| 20 73 63 72 6f 6c 6c 62 | 61 72 20 77 61 73 20 68 | scrollb|ar was h|
|000013f0| 69 74 2c 20 74 68 65 0d | 20 20 20 20 20 20 20 20 |it, the.| |
|00001400| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 6f 6e 74 | | cont|
|00001410| 72 6f 6c 20 68 61 6e 64 | 6c 65 20 72 65 74 75 72 |rol hand|le retur|
|00001420| 6e 65 64 20 69 73 20 74 | 68 65 20 68 61 6e 64 6c |ned is t|he handl|
|00001430| 65 20 66 6f 72 20 74 68 | 65 20 54 65 78 74 45 64 |e for th|e TextEd|
|00001440| 69 74 20 63 6f 6e 74 72 | 6f 6c 2e 0d 0d 4a 75 73 |it contr|ol...Jus|
|00001450| 74 20 62 65 63 61 75 73 | 65 20 61 20 63 6f 6e 74 |t becaus|e a cont|
|00001460| 72 6f 6c 20 6e 75 6d 62 | 65 72 20 77 61 73 20 72 |rol numb|er was r|
|00001470| 65 74 75 72 6e 65 64 20 | 64 6f 65 73 6e 27 74 20 |eturned |doesn't |
|00001480| 6d 65 61 6e 20 74 68 61 | 74 20 61 20 63 6f 6e 74 |mean tha|t a cont|
|00001490| 72 6f 6c 20 68 61 6e 64 | 6c 65 20 77 61 73 20 72 |rol hand|le was r|
|000014a0| 65 74 75 72 6e 65 64 2e | 0d 49 66 20 61 6e 20 69 |eturned.|.If an i|
|000014b0| 6e 61 63 74 69 76 65 20 | 73 63 72 6f 6c 6c 62 61 |nactive |scrollba|
|000014c0| 72 20 69 73 20 63 6c 69 | 63 6b 65 64 20 6f 6e 2c |r is cli|cked on,|
|000014d0| 20 74 68 65 6e 20 46 69 | 6e 64 43 6f 6e 74 72 6f | then Fi|ndContro|
|000014e0| 6c 20 72 65 74 75 72 6e | 73 20 6e 69 6c 2c 20 69 |l return|s nil, i|
|000014f0| 6e 73 74 65 61 64 20 6f | 66 20 74 68 65 0d 63 6f |nstead o|f the.co|
|00001500| 6e 74 72 6f 6c 20 68 61 | 6e 64 6c 65 20 28 72 65 |ntrol ha|ndle (re|
|00001510| 61 6c 6c 79 29 2e 20 20 | 54 68 65 20 63 6f 6e 74 |ally). |The cont|
|00001520| 72 6f 6c 20 74 68 61 74 | 20 69 73 20 72 65 74 75 |rol that| is retu|
|00001530| 72 6e 65 64 20 69 73 20 | 77 68 61 74 20 46 69 6e |rned is |what Fin|
|00001540| 64 43 6f 6e 74 72 6f 6c | 20 72 65 74 75 72 6e 73 |dControl| returns|
|00001550| 2c 20 61 6e 64 0d 74 68 | 65 72 65 66 6f 72 65 20 |, and.th|erefore |
|00001560| 69 74 20 69 73 20 70 6f | 73 73 69 62 6c 79 20 6e |it is po|ssibly n|
|00001570| 69 6c 2e 0d 0d 46 6f 72 | 20 54 65 78 74 45 64 69 |il...For| TextEdi|
|00001580| 74 20 61 6e 64 20 4c 69 | 73 74 20 63 6f 6e 74 72 |t and Li|st contr|
|00001590| 6f 6c 73 2c 20 49 73 43 | 74 6c 45 76 65 6e 74 20 |ols, IsC|tlEvent |
|000015a0| 73 69 6d 70 6c 79 20 63 | 61 6c 6c 73 20 43 54 45 |simply c|alls CTE|
|000015b0| 43 6c 69 63 6b 2c 20 43 | 54 45 4b 65 79 2c 20 43 |Click, C|TEKey, C|
|000015c0| 4c 43 6c 69 63 6b 20 6f | 72 0d 43 4c 4b 65 79 2e |LClick o|r.CLKey.|
|000015d0| 20 20 54 68 65 20 76 61 | 6c 75 65 20 72 65 74 75 | The va|lue retu|
|000015e0| 72 6e 65 64 20 61 73 20 | 74 68 65 20 61 63 74 69 |rned as |the acti|
|000015f0| 6f 6e 20 64 65 70 65 6e | 64 73 20 6f 6e 20 77 68 |on depen|ds on wh|
|00001600| 69 63 68 20 66 75 6e 63 | 74 69 6f 6e 20 77 61 73 |ich func|tion was|
|00001610| 20 63 61 6c 6c 65 64 2e | 20 20 54 68 65 0d 74 72 | called.| The.tr|
|00001620| 75 65 2f 66 61 6c 73 65 | 20 72 65 74 75 72 6e 65 |ue/false| returne|
|00001630| 64 20 62 79 20 74 68 65 | 73 65 20 66 75 6e 63 74 |d by the|se funct|
|00001640| 69 6f 6e 73 20 61 73 20 | 74 6f 20 77 68 65 74 68 |ions as |to wheth|
|00001650| 65 72 20 6f 72 20 6e 6f | 74 20 74 68 65 20 63 6f |er or no|t the co|
|00001660| 6e 74 72 6f 6c 20 68 61 | 6e 64 6c 65 64 20 74 68 |ntrol ha|ndled th|
|00001670| 65 20 65 76 65 6e 74 0d | 69 73 20 65 78 70 61 6e |e event.|is expan|
|00001680| 64 65 64 20 74 6f 20 62 | 65 20 74 68 65 20 63 6f |ded to b|e the co|
|00001690| 6e 74 72 6f 6c 20 6e 75 | 6d 62 65 72 2e 20 20 49 |ntrol nu|mber. I|
|000016a0| 66 20 66 61 6c 73 65 20 | 69 73 20 72 65 74 75 72 |f false |is retur|
|000016b0| 6e 65 64 20 62 79 20 61 | 6e 79 20 6f 66 20 74 68 |ned by a|ny of th|
|000016c0| 65 73 65 20 66 75 6e 63 | 74 69 6f 6e 73 2c 20 74 |ese func|tions, t|
|000016d0| 68 65 6e 0d 49 73 43 74 | 6c 45 76 65 6e 74 20 72 |hen.IsCt|lEvent r|
|000016e0| 65 74 75 72 6e 73 20 30 | 20 66 6f 72 20 74 68 65 |eturns 0| for the|
|000016f0| 20 63 6f 6e 74 72 6f 6c | 20 6e 75 6d 62 65 72 2e | control| number.|
|00001700| 0d 0d 49 73 43 74 6c 45 | 76 65 6e 74 20 68 61 73 |..IsCtlE|vent has|
|00001710| 20 6e 6f 20 77 61 79 20 | 6f 66 20 64 65 74 65 72 | no way |of deter|
|00001720| 6d 69 6e 69 6e 67 20 69 | 66 20 79 6f 75 20 61 72 |mining i|f you ar|
|00001730| 65 20 61 63 74 75 61 6c | 6c 79 20 75 73 69 6e 67 |e actual|ly using|
|00001740| 20 54 65 78 74 45 64 69 | 74 20 6f 72 20 4c 69 73 | TextEdi|t or Lis|
|00001750| 74 20 63 6f 6e 74 72 6f | 6c 73 2e 0d 53 69 6e 63 |t contro|ls..Sinc|
|00001760| 65 20 69 74 20 68 61 73 | 20 74 6f 20 6d 61 6b 65 |e it has| to make|
|00001770| 20 66 75 6e 63 74 69 6f | 6e 20 63 61 6c 6c 73 20 | functio|n calls |
|00001780| 73 65 72 76 69 63 65 20 | 74 68 65 73 65 20 63 6f |service |these co|
|00001790| 6e 74 72 6f 6c 73 2c 20 | 63 6f 64 65 20 6d 61 79 |ntrols, |code may|
|000017a0| 20 67 65 74 20 6c 69 6e | 6b 65 64 20 69 6e 74 6f | get lin|ked into|
|000017b0| 20 79 6f 75 72 0d 61 70 | 70 6c 69 63 61 74 69 6f | your.ap|plicatio|
|000017c0| 6e 20 74 68 61 74 20 79 | 6f 75 20 64 6f 6e 27 74 |n that y|ou don't|
|000017d0| 20 6e 65 65 64 2e 20 20 | 54 6f 20 70 72 65 76 65 | need. |To preve|
|000017e0| 6e 74 20 74 68 69 73 2c | 20 49 73 43 74 6c 45 76 |nt this,| IsCtlEv|
|000017f0| 65 6e 74 20 63 61 6c 6c | 73 20 74 68 65 20 61 70 |ent call|s the ap|
|00001800| 70 72 6f 70 72 69 61 74 | 65 0d 66 75 6e 63 74 69 |propriat|e.functi|
|00001810| 6f 6e 73 20 62 79 20 66 | 75 6e 63 74 69 6f 6e 20 |ons by f|unction |
|00001820| 70 6f 69 6e 74 65 72 2e | 20 20 54 68 65 20 64 65 |pointer.| The de|
|00001830| 66 61 75 6c 74 20 66 75 | 6e 63 74 69 6f 6e 73 20 |fault fu|nctions |
|00001840| 61 72 65 20 6a 75 73 74 | 20 73 74 75 62 20 66 75 |are just| stub fu|
|00001850| 6e 63 74 69 6f 6e 73 20 | 74 68 61 74 20 72 65 74 |nctions |that ret|
|00001860| 75 72 6e 0d 61 70 70 72 | 6f 70 72 69 61 74 65 20 |urn.appr|opriate |
|00001870| 72 65 73 75 6c 74 73 20 | 61 73 20 69 66 20 74 68 |results |as if th|
|00001880| 65 72 65 20 77 65 72 65 | 20 6e 6f 20 73 75 63 68 |ere were| no such|
|00001890| 20 63 6f 6e 74 72 6f 6c | 73 2e 20 20 54 68 69 73 | control|s. This|
|000018a0| 20 61 6c 6c 6f 77 73 20 | 49 73 43 74 6c 45 76 65 | allows |IsCtlEve|
|000018b0| 6e 74 20 74 6f 20 68 61 | 6e 64 6c 65 0d 74 68 65 |nt to ha|ndle.the|
|000018c0| 20 63 61 73 65 20 77 68 | 65 72 65 20 74 68 65 73 | case wh|ere thes|
|000018d0| 65 20 63 6f 6e 74 72 6f | 6c 73 20 61 72 65 6e 27 |e contro|ls aren'|
|000018e0| 74 20 75 73 65 64 20 77 | 69 74 68 6f 75 74 20 6c |t used w|ithout l|
|000018f0| 69 6e 6b 69 6e 67 20 69 | 6e 20 61 20 62 75 6e 63 |inking i|n a bunc|
|00001900| 68 20 6f 66 20 63 6f 64 | 65 2e 0d 0d 53 6f 20 77 |h of cod|e...So w|
|00001910| 68 61 74 20 61 62 6f 75 | 74 20 74 68 65 20 63 61 |hat abou|t the ca|
|00001920| 73 65 20 77 68 65 72 65 | 20 79 6f 75 20 44 4f 20 |se where| you DO |
|00001930| 77 61 6e 74 20 74 6f 20 | 75 73 65 20 74 68 65 73 |want to |use thes|
|00001940| 65 20 63 6f 6e 74 72 6f | 6c 73 3f 20 20 54 6f 20 |e contro|ls? To |
|00001950| 63 72 65 61 74 65 20 6f | 6e 65 20 6f 66 20 74 68 |create o|ne of th|
|00001960| 65 73 65 0d 63 6f 6e 74 | 72 6f 6c 73 2c 20 79 6f |ese.cont|rols, yo|
|00001970| 75 20 68 61 76 65 20 74 | 6f 20 63 61 6c 6c 20 65 |u have t|o call e|
|00001980| 69 74 68 65 72 20 43 54 | 45 4e 65 77 20 6f 72 20 |ither CT|ENew or |
|00001990| 43 4c 4e 65 77 2c 20 66 | 6f 72 20 54 65 78 74 45 |CLNew, f|or TextE|
|000019a0| 64 69 74 20 61 6e 64 20 | 4c 69 73 74 20 63 6f 6e |dit and |List con|
|000019b0| 74 72 6f 6c 73 2c 0d 72 | 65 73 70 65 63 74 69 76 |trols,.r|espectiv|
|000019c0| 65 6c 79 2e 20 20 28 4f | 72 2c 20 69 66 20 79 6f |ely. (O|r, if yo|
|000019d0| 75 20 61 72 65 20 75 73 | 69 6e 67 20 74 68 65 20 |u are us|ing the |
|000019e0| 41 70 70 73 54 6f 47 6f | 20 70 72 6f 67 72 61 6d |AppsToGo| program|
|000019f0| 20 65 64 69 74 6f 72 2c | 20 79 6f 75 20 73 69 6d | editor,| you sim|
|00001a00| 70 6c 79 20 63 72 65 61 | 74 65 20 74 68 65 6d 0d |ply crea|te them.|
|00001a10| 69 6e 20 61 20 66 61 73 | 68 69 6f 6e 20 73 69 6d |in a fas|hion sim|
|00001a20| 69 6c 61 72 20 74 6f 20 | 52 65 73 45 64 69 74 2e |ilar to |ResEdit.|
|00001a30| 29 0d 0d 57 68 65 6e 20 | 43 54 45 4e 65 77 20 69 |)..When |CTENew i|
|00001a40| 73 20 63 61 6c 6c 65 64 | 2c 20 69 74 20 63 61 6c |s called|, it cal|
|00001a50| 6c 73 20 43 54 45 49 6e | 69 74 69 61 6c 69 7a 65 |ls CTEIn|itialize|
|00001a60| 2e 20 20 43 54 45 49 6e | 69 74 69 61 6c 69 7a 65 |. CTEIn|itialize|
|00001a70| 20 72 65 70 6c 61 63 65 | 73 20 61 6c 6c 0d 6f 66 | replace|s all.of|
|00001a80| 20 74 68 65 20 73 74 75 | 62 20 66 75 6e 63 74 69 | the stu|b functi|
|00001a90| 6f 6e 20 70 72 6f 63 65 | 64 75 72 65 20 70 6f 69 |on proce|dure poi|
|00001aa0| 6e 74 65 72 73 20 77 69 | 74 68 20 70 6f 69 6e 74 |nters wi|th point|
|00001ab0| 65 72 73 20 74 6f 20 74 | 68 65 20 61 63 74 75 61 |ers to t|he actua|
|00001ac0| 6c 20 66 75 6e 63 74 69 | 6f 6e 73 2e 0d 49 66 20 |l functi|ons..If |
|00001ad0| 79 6f 75 20 63 61 6c 6c | 20 43 54 45 4e 65 77 2c |you call| CTENew,|
|00001ae0| 20 74 68 65 6e 20 43 54 | 45 4e 65 77 20 77 69 6c | then CT|ENew wil|
|00001af0| 6c 20 67 65 74 20 6c 69 | 6e 6b 65 64 20 69 6e 2e |l get li|nked in.|
|00001b00| 20 20 53 69 6e 63 65 20 | 43 54 45 4e 65 77 20 63 | Since |CTENew c|
|00001b10| 61 6c 6c 73 0d 43 54 45 | 49 6e 69 74 69 61 6c 69 |alls.CTE|Initiali|
|00001b20| 7a 65 2c 20 43 54 45 49 | 6e 69 74 69 61 6c 69 7a |ze, CTEI|nitializ|
|00001b30| 65 20 77 69 6c 6c 20 67 | 65 74 20 6c 69 6e 6b 65 |e will g|et linke|
|00001b40| 64 20 69 6e 2e 20 20 53 | 69 6e 63 65 20 69 74 20 |d in. S|ince it |
|00001b50| 72 65 66 65 72 65 6e 63 | 65 73 20 74 68 65 20 61 |referenc|es the a|
|00001b60| 63 74 75 61 6c 0d 63 6f | 64 65 2c 20 74 68 65 20 |ctual.co|de, the |
|00001b70| 61 63 74 75 61 6c 20 63 | 6f 64 65 20 77 69 6c 6c |actual c|ode will|
|00001b80| 20 67 65 74 20 6c 69 6e | 6b 65 64 20 69 6e 2e 20 | get lin|ked in. |
|00001b90| 20 54 68 69 73 20 61 6c | 6c 6f 77 73 20 79 6f 75 | This al|lows you|
|00001ba0| 20 74 6f 20 6e 6f 74 20 | 68 61 76 65 20 74 6f 20 | to not |have to |
|00001bb0| 77 6f 72 72 79 20 61 62 | 6f 75 74 0d 73 70 65 63 |worry ab|out.spec|
|00001bc0| 69 66 69 63 20 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |ific imp|lementat|
|00001bd0| 69 6f 6e 73 20 6c 69 6e | 6b 69 6e 67 20 69 6e 20 |ions lin|king in |
|00001be0| 74 6f 6f 20 6d 75 63 68 | 20 63 6f 64 65 2e 20 20 |too much| code. |
|00001bf0| 49 66 20 79 6f 75 20 63 | 61 6c 6c 20 69 74 2c 20 |If you c|all it, |
|00001c00| 69 74 20 77 69 6c 6c 20 | 6c 69 6e 6b 2e 20 20 54 |it will |link. T|
|00001c10| 68 65 0d 61 62 6f 76 65 | 20 70 72 6f 63 65 73 73 |he.above| process|
|00001c20| 20 69 73 20 61 6c 73 6f | 20 64 6f 6e 65 20 66 6f | is also| done fo|
|00001c30| 72 20 4c 69 73 74 20 63 | 6f 6e 74 72 6f 6c 73 2e |r List c|ontrols.|
|00001c40| 20 0d 0d 0d 01 a6 00 15 | 00 00 00 00 00 0b 00 09 | .......|........|
|00001c50| 00 04 00 00 00 09 00 00 | 00 00 00 00 00 00 12 74 |........|.......t|
|00001c60| 00 0b 00 09 00 04 05 00 | 00 09 00 00 00 00 00 00 |........|........|
|00001c70| 00 00 12 7c 00 0b 00 09 | 00 04 00 00 00 09 00 00 |...|....|........|
|00001c80| 00 00 00 00 00 00 12 7e | 00 0b 00 09 00 04 05 00 |.......~|........|
|00001c90| 00 09 00 00 00 00 00 00 | 00 00 12 84 00 0b 00 09 |........|........|
|00001ca0| 00 04 00 00 00 09 00 00 | 00 00 00 00 00 00 12 86 |........|........|
|00001cb0| 00 0b 00 09 00 04 05 00 | 00 09 00 00 00 00 00 00 |........|........|
|00001cc0| 00 00 12 8d 00 0b 00 09 | 00 04 00 00 00 09 00 00 |........|........|
|00001cd0| 00 00 00 00 00 00 12 91 | 00 0b 00 09 00 04 05 00 |........|........|
|00001ce0| 00 09 00 00 00 00 00 00 | 00 00 12 96 00 0b 00 09 |........|........|
|00001cf0| 00 04 00 00 00 09 00 00 | 00 00 00 00 00 00 16 4d |........|.......M|
|00001d00| 00 0b 00 09 00 04 05 00 | 00 09 00 00 00 00 00 00 |........|........|
|00001d10| 00 00 16 53 00 0b 00 09 | 00 04 00 00 00 09 00 00 |...S....|........|
|00001d20| 00 00 00 00 00 00 16 57 | 00 0b 00 09 00 04 05 00 |.......W|........|
|00001d30| 00 09 00 00 00 00 00 00 | 00 00 16 5c 00 0b 00 09 |........|...\....|
|00001d40| 00 04 00 00 00 09 00 00 | 00 00 00 00 00 00 16 ff |........|........|
|00001d50| 00 0b 00 09 00 04 05 00 | 00 09 00 00 00 00 00 00 |........|........|
|00001d60| 00 00 17 05 00 0b 00 09 | 00 04 00 00 00 09 00 00 |........|........|
|00001d70| 00 00 00 00 00 00 17 a0 | 00 0b 00 09 00 04 05 00 |........|........|
|00001d80| 00 09 00 00 00 00 00 00 | 00 00 17 a6 00 0b 00 09 |........|........|
|00001d90| 00 04 00 00 00 09 00 00 | 00 00 00 00 00 00 17 ad |........|........|
|00001da0| 00 0b 00 09 00 04 05 00 | 00 09 00 00 00 00 00 00 |........|........|
|00001db0| 00 00 17 b3 00 0b 00 09 | 00 04 00 00 00 09 00 00 |........|........|
|00001dc0| 00 00 00 00 00 00 17 cf | 00 0b 00 09 00 04 05 00 |........|........|
|00001dd0| 00 09 00 00 00 00 00 00 | 00 00 17 d5 00 0b 00 09 |........|........|
|00001de0| 00 04 00 00 00 09 00 00 | 00 00 00 00 |........|.... |
+--------+-------------------------+-------------------------+--------+--------+